package com.ruoyi.report_jl.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.utils.BigDecimalUtil;
import com.ruoyi.report_tg.domain.vo.ExcelGeneralVo;
import lombok.Data;
import java.util.Date;
import java.util.List;


/**
 * 细集料筛分试验检测记录（水筛法）视图对象 report_jl_xjlssjlb_bs_info
 *
 * @author tll
 * @date 2024-08-05
 */
@Data
@ExcelIgnoreUnannotated
public class ReportJlXjlssjlbBsInfoVo extends ExcelGeneralVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long excelId;

    /**
     * 共几页
     */
    @ExcelProperty(value = "共几页")
    private Long totalPage;

    /**
     * 第几页
     */
    @ExcelProperty(value = "第几页")
    private Long page;

    /**
     * 记录编号
     */
    @ExcelProperty(value = "记录编号")
    private String jilbh;

    /**
     * 检测单位名称
     */
    @ExcelProperty(value = "检测单位名称")
    private String jiancdwmc;

    /**
     * 工程部位/用途
     */
    @ExcelProperty(value = "工程部位/用途")
    private String gongcbwyt;

    /**
     * 样品名称
     */
    @ExcelProperty(value = "样品名称")
    private String yangpmc;

    /**
     * 样品编号
     */
    @ExcelProperty(value = "样品编号")
    private String yangpbh;

    /**
     * 样品数量
     */
    @ExcelProperty(value = "样品数量")
    private String yangpsl;

    /**
     * 样品状态
     */
    @ExcelProperty(value = "样品状态")
    private String yangpzt;

    /**
     * 样品时间
     */
    @ExcelProperty(value = "样品时间")
    private String yangpsj;

    /**
     * 试验检测日期
     */
    @ExcelProperty(value = "试验检测日期")
    private String shiyjcrq;

    /**
     * 试验条件温度
     */
    @ExcelProperty(value = "试验条件温度")
    private String shiytjwd;

    /**
     * 试验条件湿度
     */
    @ExcelProperty(value = "试验条件湿度")
    private String shiytjsd;

    /**
     * 检测依据
     */
    @ExcelProperty(value = "检测依据")
    private String jiancyj;

    /**
     * 判定依据
     */
    @ExcelProperty(value = "判定依据")
    private String pandyj;

    /**
     * 主要仪器设备名称及编号
     */
    @ExcelProperty(value = "主要仪器设备名称及编号")
    private String zhuyyqsbmcjbh;

    /**
     * 附加声明
     */
    @ExcelProperty(value = "附加声明")
    private String fujsm;

    /**
     * 报表名称
     */
    @ExcelProperty(value = "报表名称")
    private String baobmc;

    /**
     * 报表编号
     */
    @ExcelProperty(value = "报表编号")
    private String baobbh;

    /**
     * 工程名称
     */
    @ExcelProperty(value = "工程名称")
    private String gongcmc;

    /**
     * 检测人
     */
    @ExcelProperty(value = "检测人")
    private String jiancr;

    /**
     * 记录人
     */
    @ExcelProperty(value = "记录人")
    private String jilr;

    /**
     * 复核人
     */
    @ExcelProperty(value = "复核人")
    private String fuhr;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    private Date riq;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 筛分后总质量∑mi（g）分组1
     */
    @ExcelProperty(value = "筛分后总质量∑mi", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal shaifhzzlItem1;

    /**
     * 扣除损耗后试样总质量分组1
     */
    @ExcelProperty(value = "扣除损耗后试样总质量分组1")
    private BigDecimal koucshsyzzlItem1;
    private String m5new1;

    /**
     * 损耗率（%）分组1
     */
    @ExcelProperty(value = "损耗率", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal sunhlItem1;

    /**
     * 筛分后总质量∑mi（g）分组2
     */
    @ExcelProperty(value = "筛分后总质量∑mi", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal shaifhzzlItem2;

    /**
     * 扣除损耗后试样总质量分组2
     */
    @ExcelProperty(value = "扣除损耗后试样总质量分组2")
    private BigDecimal koucshsyzzlItem2;
    private String m5new2;

    /**
     * 损耗率（%）分组2
     */
    @ExcelProperty(value = "损耗率", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal sunhlItem2;

    /**
     * 损耗m5（g）1
     */
    @ExcelProperty(value = "损耗m5", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal sunhItem1;

    /**
     * 损耗m5（g）2
     */
    @ExcelProperty(value = "损耗m5", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=")
    private BigDecimal sunhItem2;

    /**
     * 称量次数分组1
     */
    @ExcelProperty(value = "称量次数分组1")
    private String chenglcsItem1;

    /**
     * 质量m3分组1
     */
    @ExcelProperty(value = "质量m3分组1")
    private BigDecimal zhil3Item1;

    /**
     * 质量m4分组1
     */
    @ExcelProperty(value = "质量m4分组1")
    private BigDecimal zhil4Item1;

    /**
     * 称量次数分组2
     */
    @ExcelProperty(value = "称量次数分组2")
    private String chenglcsItem2;

    /**
     * 质量m3分组2
     */
    @ExcelProperty(value = "质量m3分组2")
    private BigDecimal zhil3Item2;

    /**
     * 质量m4分组2
     */
    @ExcelProperty(value = "质量m4分组2")
    private BigDecimal zhil4Item2;

    /**
     * 设备id逗号分隔
     */
    @ExcelProperty(value = "设备id逗号分隔")
    private String shebIds;

    /**
     * 检测依据ids
     */
    @ExcelProperty(value = "检测依据ids")
    private String jiancyjIds;

    /**
     * 判定依据ids
     */
    @ExcelProperty(value = "判定依据ids")
    private String pandyjIds;

    /**
     * 水洗0.075mm筛下量m0.075 (g)1
     */
    @ExcelProperty(value = "水洗0.075mm筛下量m0.075 (g)1")
    private BigDecimal shuix075mItem1;

    /**
     * 0.075mm通过率P0.075 (%)1
     */
    @ExcelProperty(value = "0.075mm通过率P0.075 (%)1")
    private BigDecimal shuix075pItem1;

    /**
     * 水洗0.075mm筛下量m0.075 (g)2
     */
    @ExcelProperty(value = "水洗0.075mm筛下量m0.075 (g)2")
    private BigDecimal shuix075mItem2;

    /**
     * 0.075mm通过率P0.075 (%)2
     */
    @ExcelProperty(value = "0.075mm通过率P0.075 (%)2")
    private BigDecimal shuix075pItem2;

    /**
     * 水洗0.075平均值
     */
    @ExcelProperty(value = "水洗0.075平均值")
    private BigDecimal shuix075pjz;

    @ExcelProperty(value = "子表")
    private List<ReportJlXjlssjlbBaDetailVo> detailList;

    @ExcelProperty(value = "报表编号集")
    private List<String> baobbhList;

    public void setShaifhzzlItem1(BigDecimal shaifhzzlItem1) {
        this.shaifhzzlItem1 = BigDecimalUtil.stpTrailZero(shaifhzzlItem1);
    }

    public void setKoucshsyzzlItem1(BigDecimal koucshsyzzlItem1) {
        this.koucshsyzzlItem1 = BigDecimalUtil.stpTrailZero(koucshsyzzlItem1);
    }

    public void setSunhlItem1(BigDecimal sunhlItem1) {
        this.sunhlItem1 = BigDecimalUtil.stpTrailZero(sunhlItem1);
    }

    public void setShaifhzzlItem2(BigDecimal shaifhzzlItem2) {
        this.shaifhzzlItem2 = BigDecimalUtil.stpTrailZero(shaifhzzlItem2);
    }

    public void setKoucshsyzzlItem2(BigDecimal koucshsyzzlItem2) {
        this.koucshsyzzlItem2 = BigDecimalUtil.stpTrailZero(koucshsyzzlItem2);
    }

    public void setSunhlItem2(BigDecimal sunhlItem2) {
        this.sunhlItem2 = BigDecimalUtil.stpTrailZero(sunhlItem2);
    }

    public void setSunhItem1(BigDecimal sunhItem1) {
        this.sunhItem1 = BigDecimalUtil.stpTrailZero(sunhItem1);
    }

    public void setSunhItem2(BigDecimal sunhItem2) {
        this.sunhItem2 = BigDecimalUtil.stpTrailZero(sunhItem2);
    }

    public void setZhil3Item1(BigDecimal zhil3Item1) {
        this.zhil3Item1 = BigDecimalUtil.stpTrailZero(zhil3Item1);
    }

    public void setZhil4Item1(BigDecimal zhil4Item1) {
        this.zhil4Item1 = BigDecimalUtil.stpTrailZero(zhil4Item1);
    }

    public void setZhil3Item2(BigDecimal zhil3Item2) {
        this.zhil3Item2 = BigDecimalUtil.stpTrailZero(zhil3Item2);
    }

    public void setZhil4Item2(BigDecimal zhil4Item2) {
        this.zhil4Item2 = BigDecimalUtil.stpTrailZero(zhil4Item2);
    }

    public void setShuix075mItem1(BigDecimal shuix075mItem1) {
        this.shuix075mItem1 = BigDecimalUtil.stpTrailZero(shuix075mItem1);
    }

    public void setShuix075pItem1(BigDecimal shuix075pItem1) {
        this.shuix075pItem1 = BigDecimalUtil.stpTrailZero(shuix075pItem1);
    }

    public void setShuix075mItem2(BigDecimal shuix075mItem2) {
        this.shuix075mItem2 = BigDecimalUtil.stpTrailZero(shuix075mItem2);
    }

    public void setShuix075pItem2(BigDecimal shuix075pItem2) {
        this.shuix075pItem2 = BigDecimalUtil.stpTrailZero(shuix075pItem2);
    }

    public void setShuix075pjz(BigDecimal shuix075pjz) {
        this.shuix075pjz = BigDecimalUtil.stpTrailZero(shuix075pjz);
    }
}
